//
//  DetailRemindMeTableViewCell.m
//  忘不了
//
//  Created by rimi on 16/7/16.
//  Copyright © 2016年 handuan. All rights reserved.
//

#import "DetailRemindMeTableViewCell.h"
#import "SDAutoLayout.h"
@implementation DetailRemindMeTableViewCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self loadUI];
    }
    return self;
    
}

-(void)loadUI
{
    UIImageView *imageView = [[UIImageView alloc]init];
    [imageView setImage:[UIImage imageNamed:@"输入框"]];
    [self.contentView addSubview:imageView];
    imageView.sd_layout.leftSpaceToView(self.contentView,10).topSpaceToView(self.contentView,0).rightSpaceToView(self.contentView,10).bottomSpaceToView(self.contentView,10);
    
    
    _headingLabel = [[UILabel alloc]init];
    _headingLabel.font = [UIFont systemFontOfSize:18];
    [self.contentView addSubview:_headingLabel];
    _headingLabel.sd_layout.leftSpaceToView(self.contentView,20).topSpaceToView(self.contentView,5).widthIs(100).bottomSpaceToView(self.contentView,15);
    
    _contentLabel = [[UILabel alloc]init];
    _contentLabel.font = [UIFont systemFontOfSize:18];
    _contentLabel.textColor = [UIColor colorWithRed:0.4231 green:0.4231 blue:0.4231 alpha:1.0];
    _contentLabel.textAlignment = NSTextAlignmentRight;
    [self.contentView addSubview:_contentLabel];
    _contentLabel.sd_layout.leftSpaceToView(_headingLabel,5).topSpaceToView(self.contentView,5).bottomSpaceToView(self.contentView,15).rightSpaceToView(self.contentView,35);
    
    
    
}


@end
